﻿/*
=============================================================================
Author:魏宝辉通过CodeSmithe生成
CreatedTime:2012-9-9
Description:CustomerGroup三层结构业务逻辑层
=============================================================================
*/
using System;
using System.Collections.Generic;
using System.Text;
using FTchina.DAL;
using FTchina.Models;
namespace FTchina.BLL
{
	public static partial class CustomerGroupManager
	{
		public static int AddCustomerGroup(CustomerGroup customerGroup)
		{
			return CustomerGroupService.AddCustomerGroup(customerGroup);
		}
		public static int DeleteCustomerGroupByid(long id)
		{
			return CustomerGroupService.DeleteCustomerGroupById(id);
		}
		
		public static int ModifyCustomerGroupByid(CustomerGroup customerGroup)
		{
			return CustomerGroupService.ModifyCustomerGroupByid(customerGroup);
		}
		
		
		public static IList<CustomerGroup> GetAllCustomerGroups()
		{
			return CustomerGroupService.GetAllCustomerGroups();
		}
		public static CustomerGroup GetCustomerGroupByid(long id)
		{
			return CustomerGroupService.GetCustomerGroupByid(id);
		}
		 
	}
}
